Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: add perplexity AI #1061

Merged
merged 9 commits into from
Jan 6, 2025
Merged

tools: add perplexity AI #1061

merged 9 commits into from
Jan 6, 2025

Conversation

sklinkert
Copy link
Contributor

@sklinkert sklinkert commented Nov 5, 2024

This PR enables AI Agents to use perplexity AI in order to retrieve data from the web.

I'm not affiliated with Perplexity.

PR Checklist

  • Read the Contributing documentation.
  • Read the Code of conduct documentation.
  • Name your Pull Request title clearly, concisely, and prefixed with the name of the primarily affected package you changed according to Good commit messages (such as memory: add interfaces for X, Y or util: add whizzbang helpers).
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. Fixes #123).
  • Describes the source of new concepts.
  • References existing implementations as appropriate.
  • Contains test coverage for new functions.
  • Passes all golangci-lint checks.

@sklinkert sklinkert force-pushed the perplexity-tool branch 3 times, most recently from a309b30 to dd00211 Compare November 7, 2024 20:38
This PR enables AI Agents to use perplexity AI in order to retrieve data
from the web.
@sklinkert sklinkert changed the title Agents: Add Perplexity as tool integration tools: add perplexity AI Nov 7, 2024
tools/perplexity/README.md Outdated Show resolved Hide resolved
tools/perplexity/perplexity.go Outdated Show resolved Hide resolved
tools/perplexity/perplexity.go Outdated Show resolved Hide resolved
tools/perplexity/perplexity.go Show resolved Hide resolved
tools/perplexity/perplexity.go Outdated Show resolved Hide resolved
tools/perplexity/perplexity.go Outdated Show resolved Hide resolved
tools/perplexity/perplexity_test.go Outdated Show resolved Hide resolved
tools/perplexity/perplexity_test.go Outdated Show resolved Hide resolved
@sklinkert sklinkert force-pushed the perplexity-tool branch 3 times, most recently from 542ed71 to 5117dcf Compare January 5, 2025 22:03
@FluffyKebab
Copy link
Collaborator

@sklinkert Looking good. Just one more thing before this can go in: All exported symbols should be commented.

@FluffyKebab
Copy link
Collaborator

@sklinkert + Handle tool callbacks in Call

@sklinkert
Copy link
Contributor Author

@FluffyKebab Thanks for reviewing it! Let me know if there is anything else I can do

@FluffyKebab
Copy link
Collaborator

LGTM!

@FluffyKebab FluffyKebab merged commit f1fde1f into tmc:main Jan 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants